<template>
  <div class='header'>
    <router-link to='/'>
      <div class="iconfont header-back">&#xe624;</div>
    </router-link>
    城市选择
  </div>
</template>
<script>
export default {
  name: 'CityHeader'
}
</script>
<style lang="stylus" scoped>
   @import '~styles/varibles.styl'
  .header
    position: related
    height: $headerHeight
    line-height: $headerHeight
    overflow: hidden
    text-align: center
    color: #fff
    background: $bgColor
    font-size: .30rem
    .header-back
      top: 0
      left: 0
      // 相对.header的绝对定位
      position: absolute
      width: .64rem
      text-align: center
      font-size: .4rem
      color: #fff
</style>
